package uit.edu.vn.portal.elearning.models.announcement;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;


@Root(name="announcement")
public class Announcement {

	@Element(name="id")
	private String id;
	
	@Element(name="from",required=false)
	private String from;
	
	@Element(name="draft",required=false)
	private boolean draft;
	
	@Element(name="time",required=false)
	private long time;
	
	@Element(name="subject",required=false)
	private String subject;
	
	@Element(name="body",required=false)
	private String body;
	
	@Element(name="url",required=false)
	private String url;
	
	@Element(name="siteid",required=false)
	private String siteid;

	@Element(name="pageUrl",required=false)
	private String pageUrl;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public boolean isDraft() {
		return draft;
	}

	public void setDraft(boolean draft) {
		this.draft = draft;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	
	public String getSiteid() {
		return siteid;
	}

	public void setSiteid(String siteid) {
		this.siteid = siteid;
	}

	public String getPageUrl() {
		return pageUrl;
	}

	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}
}
